package top.zuli.package01.class04;

import java.lang.reflect.Array;
import java.util.Arrays;

public class ArrayTest3 {
    public static void main(String[] args) {
        int[] arr1,arr2;
        arr1 = new int[]{1,3,5,7,9};
        for (int i = 0; i < arr1.length; i++) {
            System.out.println(arr1[i]);
        }
        arr2 = new int[arr1.length];
        for (int i = 0; i < arr1.length; i++) {
            arr2[i] = arr1[i];
        }
//        System.out.println(Arrays.toString(arr2));
    }
}
